package com.fmboy.MXH.nav.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "NavigationVO", description = "导航数据传输对象")
public class NavigationVO {

    @Schema(description = "导航ID", example = "1")
    private Integer id;

    @Schema(description = "分类ID", example = "1")
    private Integer category_id; // 分类ID

    @Schema(description = "分类名", example = "收藏1")
    private String navigation_name; // 导航名称

    @Schema(description = "导航图标URL", example = "https://www.fmboy.com/avatar.jpg")
    private String navigation_logo; // 导航图标URL

    @Schema(description = "导航链接URL", example = "https://www.fmboy.com")
    private String navigation_url; // 导航链接URL

    @Schema(description = "导航说明", example = "收藏1")
    private String navigation_text; // 导航说明

    @Schema(description = "分类状态", example = "已发布")
    private String state; // 状态

    @Schema(description = "原因", example = "收藏1")
    private String reason; // 原因

    @Schema(description = "创建时间", example = "2023-05-01 00:00:00")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime create_time;

    @Schema(description = "修改时间", example = "2023-05-01 00:00:00")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime update_time;
}
